
<template>
  <el-form style="width: 500px" status-icon ref="ruleForm" label-width="100px" class="demo-ruleForm">
    <el-form-item label="原密码" prop="pass">
      <el-input type="password" v-model="ruleForm.pass" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="新密码" prop="checkPass">
      <el-input type="password" v-model="ruleForm.newPass" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="确认密码" prop="reCheckPass">
      <el-input type="password" v-model="ruleForm.rePass" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="submitForm('ruleForm')">提交</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      ruleForm: {
        pass: '',
        newPass: '',
        rePass: ''
      }
    };
  },
  methods: {
    submitForm(formName) {},

  }
}
</script>